<template>
	<HomeHeader></HomeHeader>
	<HomeSwiper></HomeSwiper>
</template>

<script setup>
	import HomeHeader from "./components/HomeHeader.vue"
	import HomeSwiper from "./components/HomeSwiper.vue"
	import {onMounted} from 'vue'
	
	
	// 声明父组件支持的自定义事件
	const $emit = defineEmits(["change"])
	// 触发父组件的自定义事件
	onMounted(()=>{
		$emit("change", 0)
	})
</script>

<style>
</style>